package com.ehotting.edsta.gateway.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * 跳过签名验证的url
 */
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "security.sign")
public class IgnoreSignProperties {
    /**
     * 签名放行白名单配置，网关不校验此处的白名单
     */
    private List<String> ignores = new ArrayList<>();

    public List<String> getIgnores() {
        return ignores;
    }

    public void setIgnores(List<String> ignores) {
        this.ignores = ignores;
    }
}
